package types

import "github.com/golang-jwt/jwt/v4"

type TokenClaims struct {
	UserId   int64          `json:"userId"`
	UserName string         `json:"userName"`
	UserType string         `json:"userType"`
	Role     []string       `json:"role"`
	Token    string         `json:"token"`
	Ext      map[string]any `json:"ext"`
	jwt.RegisteredClaims
}

type UserLoginReq struct {
	Username string `form:"username"`
	Password string `form:"password"`
}
